package com.g7.figmaapi.web.api.figma.domain.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: taoxiangqian
 * @explain: 文件版本实体
 * @since: 2023/11/08 15:24
 */
@Data
public class FigmaFileVersion implements Serializable {
    private List<Versions> versions;
    private Pagination pagination;
}

@Data
class Versions {
    private String id;
    private Date created_at;
    private String label;
    private String description;
    private FigmaUser user;
    private String thumbnail_url;
}

@Data
class Pagination {
    private String prev_page;
    private String next_page;
}